package modelLayer;

public class Subject {

	private int ID;
	private String name;
	
	public Subject(int iD, String name) {
		super();
		ID = iD;
		this.name = name;
	}

	public Subject () {
		
	}

	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Subject [ID=" + ID + "]";
	}

}
